<style>
  /* 头部滚动字幕动画 */
  @keyframes mymove {
    from {
      margin-top: 0;
    }

    to {
      margin-top: -30px;
    }
  }

  /* header动画 */
  @keyframes myggd {
    from {
      top: -100px;
    }

    to {
      top: 0;
    }

  }

  header .w1240 {
    width: 1440px;
    min-width: 1200px;
    max-width: 1440px;
    height: auto;
    margin: auto;
    background-color: #1f1f1f;
  }

  header .nt_top dl {
    display: flex;
  }

  .top-fixed {
    position: fixed;
    margin-top: -50px;
    z-index: 300;
    animation: myggd 0.5s linear;
  }

  .top_fixed {
    margin-top: 204px;
  }

  header .nt_top dl dt {
    width: 24px;
    height: 24px;
    display: inline-block;
    background: url(../images/ico-comm.png) no-repeat;
    background-position: 0 -93px;
  }

  header .nt_top dl dd {
    position: sticky;
    /* margin-top: -30px; */
    animation: mymove 2.5s infinite;

  }

  header .nt_top dl dd a {
    color: #a7a7a7;
  }

  header .nt_cen {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    background: url(../images/logo-pubg.png) no-repeat center center;
  }

  header .nt_cen .cen_le {
    height: 60px;
    width: auto;
  }

  header .nt_cen .cen_le .ico {
    display: inline-block;
    width: 21px;
    height: 21px;
    background: url(../images/ico-comm.png) no-repeat;
    background-position: 0 -279px;
    vertical-align: middle;
  }

  header .nt_cen .cen_le a {
    color: #f6f7ef;
  }

  header .nt_cen .cen_ri {
    width: auto;
    height: auto;
    width: 310px;
    height: 34px;
    background: #383838;
    display: flex;
    justify-content: space-between;
  }

  header .nt_cen .cen_ri input {
    margin-left: 9px;
    width: 228px;
    height: 34px;
    line-height: 34px;
    font-size: 14px;
    color: #aaa;
    background: #383838;
  }

  header .nt_cen .cen_ri a {
    width: 73px;
    height: 34px;
    background: #f3ad14;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  header .nt_cen .cen_ri a i {
    display: block;
    width: 20px;
    height: 20px;
    background: url(../images/spr-com.png) no-repeat;
    background-position: -44px -26px;
  }

  header .nt_btn {
    height: auto;
    display: flex;
    justify-content: space-between;
  }

  header .nt_btn .all_l {
    height: 50px;
    width: auto;
    line-height: 50px;
    cursor: pointer;
  }

  header .nt_btn .all_l i {
    margin-right: 18px;
    vertical-align: middle;
    display: inline-block;
    width: 22px;
    height: 17px;
    background: url(../images/spr-com.png) no-repeat;
    background-position: -26px -2px;
  }

  header .nt_btn .all_l span {
    color: #f6f7ef;
  }

  header .nt_btn .nav_c {
    height: 50px;
    width: auto;
    display: flex;
    line-height: 50px;
    text-align: center;
  }

  header .nt_btn .nav_c li {
    margin: 0 25px;
    width: auto;
    height: 100%;
  }

  header .nt_btn .nav_c li a {
    color: #fff;
  }

  header .nt_btn .nav_c li a:hover {
    color: #f3ad14;
  }

  header .nt_btn .nav_r {
    width: auto;
    line-height: 50px;
    font-size: 14px;
    color: #f2f2f2;
    float: right;
    display: flex;
    opacity: 1;
  }
  header .nt_btn .nav_r div{
    display: flex;
  }
  header .nt_btn .nav_r i {
    margin-right: 7px;
    margin-top: 14px;
    display: block;
    width: 20px;
    height: 20px;
    background: url(../images/spr-com.png) no-repeat;
    background-position: -2px -2px;
  }

  header .nt_btn .nav_r span {
    display: block;
  }

  header .nt_btn .nav_r div {
    color: #f3ad14;
  }
</style>
<div class="nt_top w1240">
  <dl>
    <dt></dt>
    <dd><a href="#">pubg周边商城上线啦~,点击查看详情></a></dd>
  </dl>
</div>
<div class="nt_cen w1240">
  <div class="cen_le ">
    <span class="ico"></span>
      <a href="#" id="ddl_zc">欢迎登陆</a>
  </div>
  <div class="cen_ri ">
    <input type="text" placeholder="请输入想要找的宝贝">
    <a href="http://pubg.qq.com/mall/productlist.shtml?" title="搜索">
      <i></i>
    </a>
  </div>

</div>
<div class="nt_btn w1240">
  <a class="all_l" >
    <i></i>
    <span>全部商品</span>
  </a>
  <ul class="nav_c">

  </ul>
  <script type="text/html" id="tmp_nav">
    {{each list item}}
    <li><a href="/html/liebiao.html?q={{item.id}}" title="" target="blank">{{item.name}}</a></li>

    {{/each}}
  </script>
  <a href="/html/gouwuche.html" class="nav_r">
    <i></i>
    <span>购物车</span>
    <div id="nums">（<span>0</span>）</div>
  </a>
</div>